import request from '@/common/request'

// 数据大屏接口
export function getLiveList(data) {
    return request({
        url: '/apiadmin/manager/live/list',
        method: 'post',
        data: data
    })
}

export function addLive(data) {
    return request({
        url: '/apiadmin/manager/live/add',
        method: 'post',
        data: data
    })
}

export function updateLive(data) {
    return request({
        url: '/apiadmin/manager/live/update',
        method: 'post',
        data: data
    })
}


export function delLive(data) {
    return request({
        url: '/apiadmin/manager/live/del',
        method: 'post',
        data: { liveId: data }
    })
}

// 直播数据列表
export  function  liveStatList(params) {
    return  request({
        url: '/apiadmin/manager/live/stat',
        method: 'get',
        params
    })
}

// 直播销售数据
export  function  liveSellerStat(params) {
    return  request({
        url: '/apiadmin/manager/live/liveSellerStat',
        method: 'get',
        params
    })
}

// 公域订单数据
export  function  orderInfo(data) {
    return  request({
        url: '/apiadmin/manager/live/orderInfo',
        method: 'post',
        data: data
    })
}

// 未参加day2直播名单
export  function  day2NotDaoke(data) {
    return  request({
        url: '/apiadmin/manager/live/day2NotDaoke',
        method: 'post',
        data: data
    })
}